package com.efei.test.jdbc.entity;

import com.efei.jdbc.entity.BaseEntity;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

@Data
@Table("test_user")
public class UserInfoEntity extends BaseEntity {

    @Id
    private Integer id ;
    private String name;
    private Integer age;
    private Integer sex;
}
